package com.zhangjun.mapper;

import com.zhangjun.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 张钧
 * @Description
 * @create 2022-10-14 10:45
 */
public interface StudentMapper {

	int insertStudent(@Param("student") Student student);

	int updateStudent(@Param("student") Student student);

	int deleteStudent(@Param("id") Long id);

	List<Student> selectStudent(@Param("id") Long id);

	List<Student> selectAllStudent();

	List<Student> selectStudentByCondition(@Param("student")Student student);

}
